package homework_2;

/**
 * @desc:
 * @author: Ping
 * @date: 2025/9/12 14:44
 */

public class CPU {
    private String brand;

    public CPU() {
    }

    public CPU(String brand) {
        this.brand = brand;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    @Override
    public String toString() {
        return "CPU{" + "brand='" + brand + '\'' + '}';
    }
}

